<footer>
    <div class="container">
        <div class="row">
            <div class="col-sm-3 footer-box wow fadeInUp">
                <h4>关于网站</h4>
                <div class="footer-box-text">
                    <p>
                        <span>总访问量：</span>
                        <span class="footer-box-text-hits">${getTotalHits(siteId)}</span>
                    </p>
                    <p>
                        <span>ICP备案：</span>
                        <span>${getDynamicDataOfSingleton(siteId,"site")["k_record_icp"]}</span>
                    </p>
                    <p>
                        <span>公安备案：</span>
                        <span>${getDynamicDataOfSingleton(siteId,"site")["k_record_psb"]}</span>
                    </p>
                    <p>
                        <span>微博：</span>
                        <span><a href='${getDynamicDataOfSingleton(siteId,"site")["k_weibo"]}' target="_blank">
		                        ${getDynamicDataOfSingleton(siteId,"site")["k_weibo"]}
		                        </a></span>
                    </p>
                    <p>
                        <span>技术支持：</span>
                        <span>${getDynamicDataOfSingleton(siteId,"site")["k_technical_support"]}</span>
                    </p>
                </div>
            </div>
<#--            <c:set var="linkList" value="${getLinkList(100)}"/>-->
            <#assign linkCount = themesParamConfig_linkCount!5/>
            <#assign linkList = getLinkList(siteId, 100)/>
            <#assign linkSize = linkList?size/>


            <#assign first = (linkSize gte linkCount)?then(linkCount - 1, linkSize - 1) />
            <#assign second = (linkSize gte 2*linkCount)?then(2*linkCount - 1, linkSize - 1) />
<#--            ${linkSize}-->
<#--            ${linkCount}-->
<#--            ${first}-->
<#--            ${second}-->
            <div class="col-sm-3 footer-box wow fadeInDown">
                <h4>友情链接</h4>
                <div class="footer-box-text">
                    <#if first gt 0 >
                        <#list 0..first as i>
                            <p><a href="${linkList[i].href}" target="_blank">
                                    <img class="footer-box-text-link" src="${linkList[i].logo}">${linkList[i].name}
                                </a></p>
                        </#list>
                    </#if>
                </div>
            </div>
            <div class="col-sm-3 footer-box wow fadeInUp">
                <h4>友情链接</h4>
                <div class="footer-box-text">
                    <#if second gt linkCount >
                        <#list linkCount..second as i>
                            <p><a href="${linkList[i].href}" target="_blank">
                                    <img class="footer-box-text-link" src="${linkList[i].logo}">${linkList[i].name}
                                </a></p>
                        </#list>
                    </#if>
                </div>
            </div>
            <div class="col-sm-3 footer-box wow fadeInDown">
                <h4>联系我们</h4>
                <div class="footer-box-text footer-box-text-contact">
                    <p><i class="fa fa-map-marker"></i>
                        <span class="footer-box-text-contact-title">地址：</span>
                        <span>${getSite(siteId).address}</span>
                    </p>
                    <p><i class="fa fa-phone"></i>
                        <span class="footer-box-text-contact-title">电话：</span>
                        <span>${getSite(siteId).phone}</span>
                    </p>
                    <p><i class="fa fa-weixin"></i>
                        <span class="footer-box-text-contact-title">微信：</span>
                        <span>${getSite(siteId).wechat}</span>
                        <#if getSite(siteId).wechatQrcode?? && getSite(siteId).wechatQrcode != ''>
                            <img onclick="jpf.showPic('${getSite(siteId).wechatQrcode}')"
                                 src="${getSite(siteId).wechatQrcode}">
                        </#if>
                    </p>
                    <p><i class="fa fa-qq"></i>
                        <span class="footer-box-text-contact-title">QQ：</span>
                        <span>${getSite(siteId).qq}</span>
                    </p>
                    <p><i class="fa fa-envelope"></i>
                        <span class="footer-box-text-contact-title">Email：</span>
                        <span>${getSite(siteId).email}</span>
                    </p>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-sm-12 wow fadeIn">
                <div class="footer-border"></div>
            </div>
        </div>
        <div class="row">
            <div class="col-sm-7 footer-copyright wow fadeIn">
                <p>${getSite(siteId).copyright}</p>
            </div>
        </div>
    </div>
</footer>
